﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Architecture.Helpers
{
    /// <summary>
    /// 操作授权
    /// </summary>
    [Flags]
    public enum OperationAuthorization
    {
        /// <summary>
        /// no any OperationAuthorization
        /// </summary>
        None = 0,
        /// <summary>
        /// read OperationAuthorization
        /// </summary>
        Read = 1,
        /// <summary>
        /// write OperationAuthorization
        /// </summary>
        Write = 2,
        /// <summary>
        /// read & write OperationAuthorization
        /// </summary>
        Read_Write = Read | Write,
    }
}